package com.bird.设计原则.单一职责原则.类层面的单一职责;

/**
 * @data 2022/1/9 9:44
 * @author: bird
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        FlyBird flyBird = new FlyBird();
        flyBird.mainMoveMode("大雁");

        WalkBird walkBird=new WalkBird();
        walkBird.mainMoveMode("鸵鸟");

    }
}
